#ifndef ADDFRIEND_H
#define ADDFRIEND_H

#include "tcpclient.h"
#include <QWidget>
namespace Ui {
class AddFriend;
}

class AddFriend : public QWidget {
    Q_OBJECT

public:
    explicit AddFriend(SelfInfo info, TcpClient *tcp, QWidget *parent = nullptr);
    ~AddFriend();

private slots:
    void on_pushButton_clicked();

private:
    Ui::AddFriend *ui;
    TcpClient *t;
    SelfInfo info;
    QMessageBox *msgBox;
};

#endif // ADDFRIEND_H
